package com.klf.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Users entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Long id;
	private String username;
	private String password;
	private String telephone;
	private String mobile;
	private String email;
	private String address1;
	private String address2;
	private String address3;
	private String smallheadpicture;
	private String bigheadpicture;
	private String cardtype;
	private String cardid;
	private Date birthday;
	private Date adddate;
	private Long total;
	private Set logrestoresForUprestoreid = new HashSet(0);
	private Set logrestoresForUsersid = new HashSet(0);
	private Set userlogs = new HashSet(0);
	private Set orderinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/** full constructor */
	public Users(String username, String password, String telephone,
			String mobile, String email, String address1, String address2,
			String address3, String smallheadpicture, String bigheadpicture,
			String cardtype, String cardid, Date birthday, Date adddate,
			Long total, Set logrestoresForUprestoreid,
			Set logrestoresForUsersid, Set userlogs, Set orderinfos) {
		this.username = username;
		this.password = password;
		this.telephone = telephone;
		this.mobile = mobile;
		this.email = email;
		this.address1 = address1;
		this.address2 = address2;
		this.address3 = address3;
		this.smallheadpicture = smallheadpicture;
		this.bigheadpicture = bigheadpicture;
		this.cardtype = cardtype;
		this.cardid = cardid;
		this.birthday = birthday;
		this.adddate = adddate;
		this.total = total;
		this.logrestoresForUprestoreid = logrestoresForUprestoreid;
		this.logrestoresForUsersid = logrestoresForUsersid;
		this.userlogs = userlogs;
		this.orderinfos = orderinfos;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress1() {
		return this.address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getAddress2() {
		return this.address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getAddress3() {
		return this.address3;
	}

	public void setAddress3(String address3) {
		this.address3 = address3;
	}

	public String getSmallheadpicture() {
		return this.smallheadpicture;
	}

	public void setSmallheadpicture(String smallheadpicture) {
		this.smallheadpicture = smallheadpicture;
	}

	public String getBigheadpicture() {
		return this.bigheadpicture;
	}

	public void setBigheadpicture(String bigheadpicture) {
		this.bigheadpicture = bigheadpicture;
	}

	public String getCardtype() {
		return this.cardtype;
	}

	public void setCardtype(String cardtype) {
		this.cardtype = cardtype;
	}

	public String getCardid() {
		return this.cardid;
	}

	public void setCardid(String cardid) {
		this.cardid = cardid;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getAdddate() {
		return this.adddate;
	}

	public void setAdddate(Date adddate) {
		this.adddate = adddate;
	}

	public Long getTotal() {
		return this.total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Set getLogrestoresForUprestoreid() {
		return this.logrestoresForUprestoreid;
	}

	public void setLogrestoresForUprestoreid(Set logrestoresForUprestoreid) {
		this.logrestoresForUprestoreid = logrestoresForUprestoreid;
	}

	public Set getLogrestoresForUsersid() {
		return this.logrestoresForUsersid;
	}

	public void setLogrestoresForUsersid(Set logrestoresForUsersid) {
		this.logrestoresForUsersid = logrestoresForUsersid;
	}

	public Set getUserlogs() {
		return this.userlogs;
	}

	public void setUserlogs(Set userlogs) {
		this.userlogs = userlogs;
	}

	public Set getOrderinfos() {
		return this.orderinfos;
	}

	public void setOrderinfos(Set orderinfos) {
		this.orderinfos = orderinfos;
	}

}